import axios from 'axios';

export const getFileList = async (classId: string) => {
    // 判断 className 是否为空
    if (!classId) {
        return []
    }
    const url = "/api/list/" + classId
    const response = await axios.get(url)
    return response.data
}